package cn.iocoder.idata.module.idata.controller.admin.subtask.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import static cn.iocoder.idata.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 批量子任务更新 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SubtaskUpdateReqVO extends SubtaskBaseVO {


    @Schema(description = "id", required = true, example = "1901")
    @NotNull(message = "id不能为空")
    private Long id;

    @Schema(description = "批次任务表id", required = true, example = "27547")
    @NotNull(message = "批次任务表id不能为空")
    private Long batchTaskId;

    @Schema(description = "任务数量")
    private Integer number;

    @Schema(description = "领取人")
    private String receiver;

    @Schema(description = "质检人")
    private String qualityInspector;

    @Schema(description = "状态", example = "1")
    private String status;

    @Schema(description = "任务开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime startTime;

    @Schema(description = "数据表id", example = "1901")
    private Long dataId;

}
